{
  "pointTypes": {
    "pointType": [
    {{foreach from=$pointTypes item=point name=fepointTypes}}
      {
        "id": "{{$point->getPointTypeId()}}",
        "title": "{{$point->getTypeName()}}",
        "description": "{{$point->getDescription()}}"
      }
      {{if $smarty.foreach.fepointTypes.last}} {{else}},{{/if}}
      {{/foreach}}
    ]
  }
}